#include<iostream>
#include"Interval.h"
using namespace std;



int main()
{

	Interval<double> u1(5,1);
	Interval<double> i1(2,1);

	cout << "(i1+u1)= " << i1+u1 << endl;
	
	(i1+u1).print_relative();

	Interval<double> u2(5,2);
	Interval<double> i2(2,2);

	cout << "(i2+u2)= " << i2+u2 << endl;
	
	(i2+u2).print_relative();

	Interval<double> u3(5,2);
	Interval<double> i3(2,4);

	cout << "(i3+u3)= " << i3+u3 << endl;
	
	(i3+u3).print_relative();



	system("PAUSE");
	return 0;
}
